package com.lsx.logisticscore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lsx.logisticscore.entity.Employee;
import com.lsx.logisticscore.request.EmployeeVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    IPage<Employee> selectEmployeeByCondition(Page<Employee> page, EmployeeVO vo);
    List<Employee> listEmployee();
    List<Map<String, String>> selectEmpCountByType();
    int insertSelective(Employee employee);


}